package com.wangyang.stock.business.services;

import java.util.List;

import com.wangyang.stock.business.IMerchandiseUnitService;
import com.wangyang.stock.dao.IDao;
import com.wangyang.stock.vo.MerchandiseUnitVo;

public class MerchandiseUnitServiceImp implements IMerchandiseUnitService {
	private IDao dao;

	public IDao getDao() {
		return dao;
	}

	public void setDao(IDao dao) {
		this.dao = dao;
	}

	public List selectMerchandiseUnit(MerchandiseUnitVo merchandiseUnitVo) {
		// TODO Auto-generated method stub
		StringBuffer hql = new StringBuffer("from MerchandiseUnit merchandiseUnit where 1=1 ");
		return dao.select(hql.toString());
	}

}
